package com.un10.mapper;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.un10.entity.Product;
import com.un10.entity.User;

public interface UserMapper {

	public Integer getCount();
	
	public List<User> getAllUser(@Param("page") int page, @Param("limit") int limit,
			@Param("userName") String userName,@Param("thecode") String thecode);
	//锟斤拷锟�
	public Integer UserAdd(Map<String, Object> map);
    //锟睫革拷
	public Integer  UserUpdate(Map<String, Object> map);
    //删锟斤拷
	public Integer  UserDelete(@Param("userID") int userID);
	//用户登录
  public User getUsertQiantair(@Param("userName") String userName,@Param("thecode") String thecode);
  //个人中心
  //getAllUserName
  public List<User> getAllUserName(@Param("userName") String userName);
}
